package com.lx.oms.controller.manager;

import java.util.List;

import com.lx.oms.common.entity.Query;
import com.lx.oms.controller.entity.SysAreaEntity;

/**
 * 行政区域
 *
 * @author houzhong
 * 
 */
public interface SysAreaManager {

	List<SysAreaEntity> listAreaByParentCode(Query query);
	
	int saveArea(SysAreaEntity area);
	
	SysAreaEntity getAreaById(String areaId);
	
	int updateArea(SysAreaEntity area);
	
	int batchRemoveArea(String[] id);
	
	boolean hasChildren(String[] id);
	
}
